package com.second.app.thread.synchroized.A;

/**
 * @Author GYZ
 * <pre>
 *
 * </pre>
 */
public class Thread2  extends Thread{
    private Task task;
    public Thread2(Task task){
        this.task = task;
    }

    @Override
    public void run() {
        super.run();
        task.doLongTimeTask();
    }
}

